package com.tcs.test.single.singletions;

/**
 *  枚举类型
 */
public enum  Singletion7 {

    INSTANCE;

    int index = 0;

    public int addCount() {
        return ++index;
    }
}
